package com.kingdee.eas.xbang.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractWarnFactory
{
    private ContractWarnFactory()
    {
    }
    public static com.kingdee.eas.xbang.contract.IContractWarn getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractWarn)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("C9A59D3E") ,com.kingdee.eas.xbang.contract.IContractWarn.class);
    }
    
    public static com.kingdee.eas.xbang.contract.IContractWarn getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractWarn)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("C9A59D3E") ,com.kingdee.eas.xbang.contract.IContractWarn.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.contract.IContractWarn getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractWarn)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("C9A59D3E"));
    }
    public static com.kingdee.eas.xbang.contract.IContractWarn getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractWarn)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("C9A59D3E"));
    }
}